package front_router

import (
	"blog_go/api/front_api"
)

func (r routerGroup) ArticleRouter() {
	articleApi := front_api.ApiGroupApp.ArticleApi
	r.POST("/details", articleApi.ArticleDetails)
	r.GET("/calendar", articleApi.ArticleCalendar)
	r.POST("/digg", articleApi.ArticleDigg)
	r.POST("/look_count", articleApi.ArticleLookCount)
	r.GET("/search", articleApi.ArticleSearch)
	r.POST("/coll", articleApi.ArticleColl)
	r.GET("/coll_my", articleApi.ArticleCollMy)
}
